import { Module } from '@nestjs/common';
import { LotteryService } from './lottery.service';
import { LotteryController } from './lottery.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LotteryConfig } from './lottery-config.entity';

@Module({
  imports: [TypeOrmModule.forFeature([LotteryConfig])], // 注册实体
  providers: [LotteryService],
  controllers: [LotteryController]
})
export class LotteryModule { }
